package fx.mine.active.component.translate.api;


import com.dtflys.forest.annotation.Body;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import lombok.Data;

public interface TranslateAPI {
    @Get(
            url = "http://translate.google.cn/m?q=${word}&tl=${from}&sl=${to}"
//            headers = {
//
//            }
    )
    String googleTranslate(@Var("word") String word, @Var("from") String from, @Var("to") String to);
}
